package cn.iocoder.an.module.mold.controller.admin.recheckcategory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 复检类型新增/修改 Request VO")
@Data
public class RecheckCategorySaveReqVO {

    @Schema(description = "复检类型id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6774")
    private Long id;

    @Schema(description = "启用状态，1，启用；0，禁用", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "启用状态，1，启用；0，禁用不能为空")
    private Integer status;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "复检周期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "复检周期不能为空")
    private Long recheckPeriod;

    @Schema(description = "备注", example = "随便")
    private String description;

}